#define _CRT_SECURE_NO_WARNINGS
#include"SLT.h"
void creat01()
{
	SLTnode* node1 = (SLTnode*)malloc(sizeof(SLTnode));
	node1->data = 1;

	SLTnode* node2 = (SLTnode*)malloc(sizeof(SLTnode));
	node2->data = 2;

	SLTnode* node3 = (SLTnode*)malloc(sizeof(SLTnode));
	node3->data = 3;

	SLTnode* node4 = (SLTnode*)malloc(sizeof(SLTnode));
	node4->data = 4;

	node1->next = node2;
	node2->next = node3;
	node3->next = node4;
	node4->next = NULL;

	SLTnode* plist = node1;
	SLTprint(plist);

}

void test01()
{
	SLTnode* plist = NULL;
	SLTPushBack(plist, 1);
	SLTprint(plist);
}

int main()
{
	/*creat01();*/
	test01();
	return 0;
}